// super:'',  父类key
// title: "",  菜单名称
// icon: "Memo",  图标
// hidden:true  是否隐藏菜单
export const MenuLayout = [
  {
    path: "/Home",
    component: () => import("/src/views/Home/index.vue"),
    meta: {
      title: "首页",
      icon: "icon-shouye",
    },
  },
  {
    path: "/IndividualCenter",
    component: () => import("/src/views/IndividualCenter/index.vue"),
    meta: {
      title: "个人中心",
      icon: "User",
    },
  },
  // 银行授信
  {
    path: "/Credit",
    component: () => import("/src/views/Credit/index.vue"),
    meta: {
      title: "银行授信",
      icon: "icon-huolisong-M-ganggan",
    },
  },
  {
    path: "/Credit/Details",
    component: () => import("/src/views/Credit/Details.vue"),
    meta: {
      super: "/Credit",
      title: "银行授信详情",
      hidden: true,
    },
  },
  // 销售申请
  {
    path: "/SalesApplication",
    component: () => import("/src/views/SalesApplication/index.vue"),
    meta: {
      title: "销售申请",
      icon: "icon-xiaoshoushenqing3x",
    },
  },
  {
    path: "/SalesApplication/Details",
    component: () => import("/src/views/SalesApplication/Details.vue"),
    meta: {
      super: "/SalesApplication",
      title: "销售申请详情",
      hidden: true,
    },
  },
  // 出口申请
  {
    path: "/Export",
    component: () => import("/src/views/Export/index.vue"),
    meta: {
      title: "出口申请",
      icon: "icon-maoyijinchukoulingshoupifa",
    },
  },
  {
    path: "/Export/Details",
    component: () => import("/src/views/Export/Details.vue"),
    meta: {
      super: "/Export",
      title: "出口申请",
      hidden: true,
    },
  },
  // 车辆上架
  {
    path: "/PublishGoods",
    component: () => import("/src/views/PublishGoods/index.vue"),
    meta: {
      keepAlive: true,
      title: "车辆上架",
      icon: "Goods",
    },
  },
  {
    path: "/PublishGoods/Details",
    component: () => import("/src/views/PublishGoods/Details.vue"),
    meta: {
      super: "/PublishGoods",
      title: "车辆上架详情",
      hidden: true,
    },
  },
  // 车辆记录
  {
    path: "/VehicleRecord",
    component: () => import("/src/views/VehicleRecord/index.vue"),
    meta: {
      title: "车辆记录",
      icon: "icon-huanchedengji",
    },
  },
  {
    path: "/VehicleRecord/Details",
    component: () => import("/src/views/VehicleRecord/Details.vue"),
    meta: {
      super: "/VehicleRecord",
      hidden: true,
      title: "车辆记录",
      icon: "Memo",
    },
  },
  // 订单管理
  {
    path: "/Order",
    component: () => import("/src/views/Order/index.vue"),
    meta: {
      keepAlive: true,
      title: "订单管理",
      icon: "icon-dingdan",
    },
  },
  {
    path: "/Order/Details",
    component: () => import("/src/views/Order/Details.vue"),
    meta: {
      title: "订单详情",
      super: "/Order",
      hidden: true,
    },
  },
  // 发货申请
  {
    path: "/DeliveryRequest",
    component: () => import("/src/views/DeliveryRequest/index.vue"),
    meta: {
      title: "发货申请",
      icon: "icon-baoguo_fahuo_o",
    },
  },
  // 提车申请
  {
    path: "/DeliveryOfVehicle",
    component: () => import("/src/views/DeliveryOfVehicle/index.vue"),
    meta: {
      title: "提车申请",
      icon: "Van",
    },
  },
  {
    path: "/DeliveryOfVehicle/Details",
    component: () => import("/src/views/DeliveryOfVehicle/Details.vue"),
    meta: {
      title: "提车申请",
      super: "/DeliveryOfVehicle",
      hidden: true,
    },
  },
  // 合同
  {
    path: "/Contract",
    component: () => import("/src/views/Contract/index.vue"),
    meta: {
      title: "合同管理",
      icon: "icon-hetong",
    },
  },
  // 贷款
  {
    path: "/Loan",
    component: () => import("/src/views/Loan/index.vue"),
    meta: {
      title: "贷款管理",
      icon: "icon-dkw_daikuan",
    },
  },
  // 结算
  {
    path: "/SettleAccount",
    component: () => import("/src/views/SettleAccount/index.vue"),
    meta: {
      title: "结算管理",
      icon: "icon-jiesuan1",
    },
  },
  // 账单
  {
    path: "/Bill",
    component: () => import("/src/views/Bill/index.vue"),
    meta: {
      title: "账单管理",
      icon: "icon-zhangdan_o",
    },
  },
];
